import { Tabs } from "@nutui/nutui-react-taro";
import { View } from "@tarojs/components";
import { useState } from "react";
definePageConfig({
    navigationBarTitleText: '我的轨迹'
})
export default function myWallet(){
        const [tabvalue, setTabvalue] = useState<string | number>('0')
    return(
        <View>
        <Tabs
            value={tabvalue}
            onChange={(value) => {
              setTabvalue(value)
            }}
            style={{
              //@ts-ignore
              '--nutui-tabs-titles-background-color':'#ffffff',
              '--nutui-tabs-titles-item-active-color':'#EC6138',
              '--nutui-tabs-titles-font-size':'$font-size-md',
              '--nutui-tabs-titles-height':'100rpx',
              '--nutui-tabs-tab-line-width':'50rpx',
              '--nutui-tabs-tab-line-height':'6rpx',
              '--nutui-tabs-tab-line-color':'#EC6138',
      
            }}
            activeColor="#EC6138"
          >
            <Tabs.TabPane title="活动"> Tab 1 </Tabs.TabPane>
            <Tabs.TabPane title="社群"> Tab 2 </Tabs.TabPane>


          </Tabs>
  </View>
    )

}